package service;

import domain.Device;

/**
 * Created by chen<chen@youjianghr.com> on 2015/7/18.
 *
 * @author chen<chen@youjianghr.com>
 */
public interface DeviceService {


    /**
     * @param userId
     * @param device
     * @return
     */
    default ServiceResponse registerNewDevice(long userId, Device device) {
        return null;
    }

    ServiceResponse deleteDevice(long userId, String deviceIMEI);

    ServiceResponse updateLastUse(long userId, String deviceIMEI);
}
